package com.noodles.mall.service;

import com.noodles.mall.entity.ItemRecommend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.noodles.mall.vo.PageVo;

import java.util.Map;

public interface ItemRecommendService extends IService<ItemRecommend> {

    /** 查询某用户的推荐商品列表 **/
    PageVo selectRecommend(Integer userId, Long current, Long size);

    /** 获取推荐矩阵 **/
    Map<String, Object> getItemSimilarityMatrix();

}
